<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>

		<div style="margin: auto; width: 985px;">
			<div class="MemberCenter">
				<div class="siteparttitle">
					<div class="gender"></div>
					<div class="info">
						<strong>您好:${member.name}</strong>&nbsp;&nbsp;[ 会员中心]&nbsp;&nbsp;[
						<a href="logout.html" class="lnk">退出</a>]
					</div>
					<div class="time"></div>
					<div style="clear: both;"></div>
				</div>

				<%@ include file="/jsp/front/member/memberNav.jsp"%>

				<div class="MemberMain">
					<div style="margin-right: 175px;">
						<div class="title">
							商品咨询/评论
						</div>
						<div>
							<c:forEach items="${memberComments}" var="comment">
								<div style="" class="division boxBlue clearfix mainReply">
									<div class=" floatLeft commentMain">
										<div class="floatLeft commentAsk">
											评论
										</div>
										<span class="author fontcolorOrange">我评论说：</span><span class="timpstamp font10px fontcolorGray replies"> ${comment.createDate}</span>
										<div style="clear: both;"></div>

										<div class="commentText">
											<div></div>
											${comment.comment}
										</div>
									</div>
									<div class="floatRight">
										<a class="lnk" href="dp_goods_get.html?goodsId=${comment.goodsId}">点击去该商品页</a>
									</div>
								</div>
								<c:if test="${comment.adminId > 0}">
									<div class="commentReply">
										<div style="margin: 0px;" class="division item ">
											<div class="floatLeft commentReply-admin">
												回答
											</div>
											<span class="author fontcolorOrange"></span>&nbsp;&nbsp;回复：
											<span class="timpstamp font10px fontcolorGray replies">${comment.replyDate}</span>
											<div style="clear: both;"></div>
											<div class="commentText">
												${comment.replyComment}
											</div>
										</div>
									</div>
								</c:if>
							</c:forEach>

						</div>
						<div class="clearfix">
							${pagerString }
						</div>
					</div>
				</div>
			</div>
		</div>



		<%@ include file="/jsp/front/common/footer.jsp"%>
		<script type="text/javascript">
			document.getElementById('mc_comment').className = 'current';
		</script>
	</body>
</html>